package io.gimo.study.design_pattern.factory.abstract_factory.product;


import io.gimo.study.design_pattern.factory.abstract_factory.Searcher;

public class OrderSearcher implements Searcher {

	@Override
	public int search(int[] target, int search_key) {
		for(int i=0;i<target.length;i++){  
            if(target[i]==search_key){  
                return i;  
            }  
        }  
        return -1;  
	}

}
